﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJSHWebApi.DBModel
{
    /// <summary>
    /// 生箔机
    /// </summary>
    [Table("Rawfoilmachine_Entity")]
    public class Rawfoilmachine_Entity: BaseDbmodel
    {
        [Key]

        public int Id { get; set; }

        /// <summary>
        /// 机器编号
        /// </summary>
        public int Deviceid { get; set; }
        public int Station { get; set; }
        public int PreStation { get; set; }
        public int BackStation { get; set; }
        public int Area { get; set; }
        public int Flow { get; set; }
        public int TaskType { get; set; }
        public int TaskTypeNoBake { get; set; }

        public int TaskTypeNoTobeBake { get; set; }
        public string Remark { get; set; }
        public bool IsEnable { get; set; }

        public Rawfoilmachine_Entity Clone()
        {
            return new Rawfoilmachine_Entity()
            {
                Deviceid = this.Deviceid,
                Station = this.Station,
                PreStation = this.PreStation,
                BackStation = this.BackStation,
                Area=this.Area,
                Flow=this.Flow,
                TaskType=this.TaskType,
                Remark =this.Remark
             };
        }
    }
}
